package com.xhs.service;

import com.xhs.message.ReturnResult;
import org.springframework.web.multipart.MultipartFile;

/**
 * @desc:
 * @projectName: tools-parent
 * @author: xhs
 * @date: 2023/3/13 21:01
 * @version: JDK 1.8
 */
public interface UploadFileService {

    /**
     * 上传文件
     * @param file
     * @return
     */
    ReturnResult<Object> uploadFile(MultipartFile file);
}
